import request from "@/api/request"

function classList(params){
    return request({
        url:"/admin/xy/clazz/list",
        method:"get",
        params
    })
}
function classDel(params){
    return request({
        url:"/admin/xy/clazz/del",
        method:"get",
        params
    })
}
function classAdd(params){
    return request({
        url:"/admin/xy/clazz/save",
        method:"post",
        params
    })
}

function classDetail(params){
    return request({
        url:"/admin/xy/clazz/detail",
        method:"post",
        params
    })
}

function classUpdate(params){
    return request({
        url:"/admin/xy/clazz/update",
        method:"post",
        params
    })
}
export { classList,classDel,classAdd,classDetail,classUpdate}